<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页设计</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f8f8;
            color: #333;
        }
        .container {
            max-width: 414px;
            margin: 20px auto;
            background: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .header {
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            font-size: 18px;
            font-weight: 500;
        }
        .search-bar {
            margin: 0 20px 15px;
            background: #f5f5f5;
            border-radius: 4px;
            padding: 8px 15px;
            display: flex;
            align-items: center;
        }
        .search-icon {
            margin-right: 8px;
            color: #999;
        }
        .search-text {
            color: #999;
            font-size: 14px;
        }
        .banner {
            margin: 0 20px 20px;
            height: 150px;
            background: #f0f0f0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .section-title {
            margin: 0 20px 15px;
            font-size: 16px;
            font-weight: 500;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .more {
            font-size: 12px;
            color: #999;
            font-weight: normal;
        }
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            padding: 0 20px 20px;
        }
        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px 0;
        }
        .feature-icon {
            width: 40px;
            height: 40px;
            background: #f5f5f5;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            font-size: 20px;
        }
        .feature-name {
            font-size: 12px;
            color: #666;
        }
        .activity-list {
            padding: 0 20px 20px;
        }
        .activity-item {
            background: white;
            border-radius: 8px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            border: 1px solid #f0f0f0;
        }
        .activity-image {
            height: 120px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .activity-content {
            padding: 12px;
        }
        .activity-title {
            font-size: 16px;
            margin-bottom: 8px;
            font-weight: 500;
        }
        .activity-info {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
        }
        .tabbar {
            position: fixed;
            bottom: 0;
            width: 100%;
            max-width: 414px;
            height: 50px;
            background: white;
            display: flex;
            border-top: 1px solid #f0f0f0;
        }
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #999;
        }
        .tab-item.active {
            color: #333;
        }
        .tab-icon {
            font-size: 24px;
            margin-bottom: 2px;
        }
        .tab-text {
            line-height: 1;
        }
        .content {
            padding-bottom: 60px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="content">
            <div class="header">
                <div class="logo">微工具</div>
                <div style="font-size: 20px;">👤</div>
            </div>
            
            <div class="search-bar">
                <div class="search-icon">🔍</div>
                <div class="search-text">搜索活动、预约</div>
            </div>
            
            <div class="banner">
                <div style="color: #999; font-size: 14px;">活动宣传图</div>
            </div>
            
            <div class="section-title">
                <div>热门功能</div>
                <div class="more">更多 ></div>
            </div>
            
            <div class="feature-grid">
                <div class="feature-item">
                    <div class="feature-icon">📊</div>
                    <div class="feature-name">投票</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon">📅</div>
                    <div class="feature-name">预约</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon">🎁</div>
                    <div class="feature-name">抽奖</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon">📝</div>
                    <div class="feature-name">表单</div>
                </div>
            </div>
            
            <div class="section-title">
                <div>热门活动</div>
                <div class="more">更多 ></div>
            </div>
            
            <div class="activity-list">
                <div class="activity-item">
                    <div class="activity-image">
                        <div style="color: #999; font-size: 14px;">活动图片</div>
                    </div>
                    <div class="activity-content">
                        <div class="activity-title">2023年度最佳员工评选</div>
                        <div class="activity-info">
                            <div>参与人数: 128</div>
                            <div>截止日期: 12月20日</div>
                        </div>
                    </div>
                </div>
                
                <div class="activity-item">
                    <div class="activity-image">
                        <div style="color: #999; font-size: 14px;">活动图片</div>
                    </div>
                    <div class="activity-content">
                        <div class="activity-title">企业年会场地预约</div>
                        <div class="activity-info">
                            <div>已预约: 45/100</div>
                            <div>截止日期: 12月15日</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="tabbar">
            <div class="tab-item active">
                <div class="tab-icon">🏠</div>
                <div class="tab-text">首页</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon">🔍</div>
                <div class="tab-text">功能中心</div>
            </div>
            <div class="tab-item">
                <div class="tab-icon">👤</div>
                <div class="tab-text">个人中心</div>
            </div>
        </div>
    </div>
</body>
</html>